#ifndef DFRT_DELAYED_WRITE_H
#define DFRT_DELAYED_WRITE_H

#include <misc.h>

#ifdef __cplusplus
extern "C" {
#endif

struct wrvec {
        uint16_t offset;
        uint16_t size;
} __packed ;


struct wrdesc {
  int count;
  bool mustfree;
  struct wrvec wrvec;
} __packed;

struct decvec {
    struct frame_struct * fp;
    int dec;
} __packed;

#ifdef __cplusplus
}
#endif

#endif // DELAYED_WRITE_H
